home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
networke
/
xfirepow.000
/
xfirepow
/
xfirepower-0.84
/
client
/
data.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-03-16
|
1KB
|
62 lines
#include "Wlib.h"
#include "data.h"
#include "defs.h"
#include "struct.h"
W_Window baseWin, cwin, mapwin, messwin[MW_MAX], typewin, playerwin, motdwin, teamwin[2], quitwin;
W_Window dashwin, optionwin=0, win3d;
W_Image *myTankImg, *teamTankImg[2], *shellImg, *treeImg, *expImg, *mineImg, *mineExpImg;
W_Image *t_shapes[NUMTERRAINS];
W_Image *flagImg[NUMTEAMS];
char map[MAXMAPSIZE][MAXMAPSIZE];
mapinfo map_info;
player players[MAXPLAYERS];
player *me;
int sock = -1, udpSock = -1;
int totalread = 0;
shell shells[MAXPLAYERS*SHELLSPERPLAYER];
flag flags[NUMFLAGS];
char *server = "panzer.atomic.com";
int port = XFIREPORT;
char *name = "guest";
int redrawmap = 0;
#ifdef UDP_PROXY
char *proxyServer = "192.0.2.2"; /* special address for TIA/SLiRP */
int proxyPort = 8592;
int useUdpProxy = 0;
#endif
int counter=0;
int displayoff = 0;
int my_dx, my_dy;
int quit = 0;
int teamOk = 0;
int redrawMotd = 0;
int map_pixel = 2;
int namesOnTanks = 1;
int splitWindows = 0;
mine mines[MAXPLAYERS * MINESPERPLAYER];
int message_mode=0;
int showBuildMarker = 1;
int viewHeight = 100, focalDist = 600;